package com.bjx.system.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bjx.common.core.domain.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @desc: 字典类型
 * @author: liushuai
 * @date: 2022/8/15
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(title = "DictTypeEntity",description = "字典类型实体")
@TableName("sys_dict_type")
public class DictTypeEntity extends BaseEntity {
    /**
     * 字典类型ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(title = "dictTypeId",description = "字典类型ID")
    private Long dictTypeId;
    /**
     * 字典类型编号
     */
    @Schema(title = "dictTypeCode",description = "字典类型编号")
    private String dictTypeCode;
    /**
     * 字典类型名称
     */
    @Schema(title = "dictTypeName",description = "字典类型名称")
    private String dictTypeName;

    /**
     *  是否启用
     */
    @Schema(title = "enabled",description = "是否启用")
    private Short enabled;

    @Schema(title = "序号",description = "序号")
    private Integer orderNum;


    
}
